# -*- coding: utf-8 -*-
# from odoo import http


# class /users/yao/documents/1.odoo/odoo18/apps/redisContent(http.Controller):
#     @http.route('//users/yao/documents/1.odoo/odoo18/apps/redis_content//users/yao/documents/1.odoo/odoo18/apps/redis_content', auth='public')
#     def index(self, **kw):
#         return "Hello, world"

#     @http.route('//users/yao/documents/1.odoo/odoo18/apps/redis_content//users/yao/documents/1.odoo/odoo18/apps/redis_content/objects', auth='public')
#     def list(self, **kw):
#         return http.request.render('/users/yao/documents/1.odoo/odoo18/apps/redis_content.listing', {
#             'root': '//users/yao/documents/1.odoo/odoo18/apps/redis_content//users/yao/documents/1.odoo/odoo18/apps/redis_content',
#             'objects': http.request.env['/users/yao/documents/1.odoo/odoo18/apps/redis_content./users/yao/documents/1.odoo/odoo18/apps/redis_content'].search([]),
#         })

#     @http.route('//users/yao/documents/1.odoo/odoo18/apps/redis_content//users/yao/documents/1.odoo/odoo18/apps/redis_content/objects/<model("/users/yao/documents/1.odoo/odoo18/apps/redis_content./users/yao/documents/1.odoo/odoo18/apps/redis_content"):obj>', auth='public')
#     def object(self, obj, **kw):
#         return http.request.render('/users/yao/documents/1.odoo/odoo18/apps/redis_content.object', {
#             'object': obj
#         })

